package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.entity.Activity;

public interface ActivityService extends IService<Activity> {
    
    // 分页查询活动列表
    Page<Activity> getActivityList(Integer pageNum, Integer pageSize, String keyword, Integer status);
    
    // 发布活动
    boolean publishActivity(Activity activity);
    
    // 更新活动信息
    boolean updateActivity(Activity activity);
    
    // 删除活动
    boolean deleteActivity(Long id);
    
    // 批量删除活动
    boolean batchDeleteActivities(Long[] ids);
    
    // 更新活动状态（审核/取消）
    boolean updateActivityStatus(Long id, Integer status);
    
    // 查询活动详情
    Activity getActivityInfo(Long id);
} 